package com.example.hrmsaas.company.vo;

import com.example.hrmsaas.company.entity.Department;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)//父类中如果加入了@Data注解，所以要加上@EqualsAndHashCode注解
public class DeptVo extends Department implements Serializable {
    private static final long serialVersionUID=1L;

    /**
     *
     *分页参数
     */
    private Integer page=1;
    private Integer limit=10;
}
